<template>
  <div class="resu">
    <div class="container">
      <div class="con_text">
        <div class="title">恭喜您</div>
        <div class="namelast">您已做完最后一道题</div>
        <div class="text">【珠江数码员工创新创业大会培训】</div>
        <div class="succ">答对题数<span>8题</span></div>
        <div class="error">答错题数<span>2题</span></div>
      </div>
      <div class="btnall">
        <div class="item" @click="$router.push('/detail')">
          <img src="../assets/image/top_icon.png" alt="" /> 答题明细
        </div>
        <div class="item" @click="$router.push('/answer')">
          <img src="../assets/image/bom_icom.png" alt="" /> 再答一遍
        </div>
        <div class="item" @click="$router.push('/')">
          <img src="../assets/image/midd_icon.png" alt="" />返回首页
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
};
</script>
<style lang="scss" scoped>
.resu {
  .container {
    padding: 2rem 0.875rem 6.875rem;
    .con_text {
      height: 18.5rem;
      background-color: #fff;
      border-radius: 0.3125rem;
      width: 100%;
      text-align: center;
      padding-top: 1.8125rem;
      margin-bottom: 3.125rem;

      .title,
      .namelast {
        font-size: 1.25rem;
        color: #d42454;
        margin-bottom: 0.625rem;
      }
      .text {
        color: #999999;
        margin-bottom: 1.1875rem;
      }
      .succ {
        color: #333;
        margin-bottom: 0.875rem;
        span {
          color: #00862a;
        }
      }
    }
    .btnall {
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      .item {
        width: 18.625rem;
        height: 3.125rem;
        background: #d42454;
        border-radius: 0.3125rem;
        font-size: 1.25rem;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        img{
            margin-right: 0.625rem;
        }

      }
      .item:not(:last-child) {
        margin-bottom: 2.5rem;
      }
      .item:nth-child(2) {
        background-color: #b63759;
      }
      .item:last-child {
        background-color: #fff;
        color: #D32454;
      }
    }
  }
}
</style>